package org.brisling.ethic.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;
import javax.persistence.Transient;

import org.brisling.base.domain.impl.BaseAuditDomain;
import org.brisling.base.domain.inf.BaseAuditDomainInf;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.base.domain.inf.BaseLobDomainInf;
import org.brisling.common.ConstSysParam;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
年度医德考核
 * @author jacksonWang
 * @since 1.0
 * @version 1.0
 * @Date 2016-4-6
 */
@Entity
@Table(name=ConstSysParam.MODULE_ETHIC_EVALUATE)
public class EthicEvaluate extends BaseAuditDomain implements BaseDomainInf,BaseAuditDomainInf,BaseLobDomainInf{

	
	//大字段表字段id
	private String lobid;
	@Transient
	private String lob_contents;
	
	@Transient
	private String contents;
	
	//大字段表字段名称
	private String fieldName;
	
	//加分
	private Double add_score;
	
	//扣分
	private Double mark_score;
	
	//部门编码
	private Long depart_code;
	
	//部门名称
	private String depart_name;
	
	
	
	@Transient
	private String directorid;
	
	//自评内容
	private String evaluate;
	
	//评价时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	private Date evaluateat;
	
	//
	private  Double temp;
	public Double getTemp() {
		return temp;
	}

	public void setTemp(Double temp) {
		this.temp = temp;
	}

	//考评情况
	private String evaluate_result;
	
	
	
	//评价年度
	private String evaluate_year;
	
	//评价编码（ygyy编码）
	private String e_id;
	
	
	
	@Transient
	private String partystatus;
	
	//自评得分
	private Double sel_score;
	
	//科室评分
	private Double dept_score;
	
	//科评明细
	@Column(length=500)
	private String dept_evaluate_detail;
	
	//党支部分数
	private Double party_score;
	
	//院得分
	private Double composite_score;
	
	//院评明细
	@Column(length=500)
	private String hospital_evaluate_detail;
	
	
	//等级评分
	private String show_score;
	
	//评价人编码
	private String person_code;
	
	private String person_name;
	
	//科室评价
	private String dept_evaluate;
	
	//支部评价
	private String party_evaluate;
	//医院评价
	private String hospital_evaluate;
	
	//字表数据（json格式）
	@Transient
	private String sublist;
	
	//暂存日常考评数据
	@Transient
	private String daily_evaluate;
	
	//暂存红包礼品退还数据
	@Transient
	private String gift_return;
	
	public String getDaily_evaluate() {
		return daily_evaluate;
	}

	public void setDaily_evaluate(String daily_evaluate) {
		this.daily_evaluate = daily_evaluate;
	}

	public String getGift_return() {
		return gift_return;
	}

	public void setGift_return(String gift_return) {
		this.gift_return = gift_return;
	}

	public Double getAdd_score() {
		return add_score;
	}

	public void setAdd_score(Double add_score) {
		this.add_score = add_score;
	}


	
	public String getShow_score() {
		return show_score;
	}

	public void setShow_score(String show_score) {
		this.show_score = show_score;
	}

	public Double getComposite_score() {
		return composite_score;
	}

	public void setComposite_score(Double composite_score) {
		this.composite_score = composite_score;
	}
	
	public Long getDepart_code() {
		return depart_code;
	}

	public void setDepart_code(Long depart_code) {
		this.depart_code = depart_code;
	}

	public String getDepart_name() {
		return depart_name;
	}

	public void setDepart_name(String depart_name) {
		this.depart_name = depart_name;
	}

	public Double getDept_score() {
		return dept_score;
	}

	public void setDept_score(Double dept_score) {
		this.dept_score = dept_score;
	}

	public String getDirectorid() {
		return directorid;
	}

	public void setDirectorid(String directorid) {
		this.directorid = directorid;
	}

	public String getEvaluate() {
		return evaluate;
	}

	public void setEvaluate(String evaluate) {
		this.evaluate = evaluate;
	}

	public Date getEvaluateat() {
		return evaluateat;
	}

	public void setEvaluateat(Date evaluateat) {
		this.evaluateat = evaluateat;
	}

	public String getEvaluate_result() {
		return evaluate_result;
	}

	public void setEvaluate_result(String evaluate_result) {
		this.evaluate_result = evaluate_result;
	}

	public String getEvaluate_year() {
		return evaluate_year;
	}

	public void setEvaluate_year(String evaluate_year) {
		this.evaluate_year = evaluate_year;
	}

	public String getE_id() {
		return e_id;
	}

	public void setE_id(String e_id) {
		this.e_id = e_id;
	}

	public Double getMark_score() {
		return mark_score;
	}

	public void setMark_score(Double mark_score) {
		this.mark_score = mark_score;
	}

	public String getPartystatus() {
		return partystatus;
	}

	public void setPartystatus(String partystatus) {
		this.partystatus = partystatus;
	}

	public Double getParty_score() {
		return party_score;
	}

	public void setParty_score(Double party_score) {
		this.party_score = party_score;
	}

	public String getPerson_code() {
		return person_code;
	}

	public void setPerson_code(String person_code) {
		this.person_code = person_code;
	}

	public String getPerson_name() {
		return person_name;
	}

	public void setPerson_name(String person_name) {
		this.person_name = person_name;
	}

	public String getDept_evaluate() {
		return dept_evaluate;
	}

	public void setDept_evaluate(String dept_evaluate) {
		this.dept_evaluate = dept_evaluate;
	}

	public String getParty_evaluate() {
		return party_evaluate;
	}

	public void setParty_evaluate(String party_evaluate) {
		this.party_evaluate = party_evaluate;
	}

	public String getHospital_evaluate() {
		return hospital_evaluate;
	}

	public void setHospital_evaluate(String hospital_evaluate) {
		this.hospital_evaluate = hospital_evaluate;
	}

	public Double getSel_score() {
		return sel_score;
	}

	public void setSel_score(Double sel_score) {
		this.sel_score = sel_score;
	}

	public String getSublist() {
		return sublist;
	}

	public void setSublist(String sublist) {
		this.sublist = sublist;
	}

	public String getLobid() {
		return lobid;
	}

	public void setLobid(String lobid) {
		this.lobid = lobid;
	}

	public String getLob_contents() {
		return lob_contents;
	}

	public void setLob_contents(String lob_contents) {
		this.lob_contents = lob_contents;
	}

	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	@Override
	public String getFieldName() {
		// TODO Auto-generated method stub
		return fieldName;
	}

	@Override
	public void setFieldName(String fieldName) {
		// TODO Auto-generated method stub
		this.fieldName = fieldName;
	}

	public String getDept_evaluate_detail() {
		return dept_evaluate_detail;
	}

	public void setDept_evaluate_detail(String dept_evaluate_detail) {
		this.dept_evaluate_detail = dept_evaluate_detail;
	}

	/**
	 * @return the hospital_evaluate_detail
	 */
	public String getHospital_evaluate_detail() {
		return hospital_evaluate_detail;
	}

	/**
	 * @param hospital_evaluate_detail the hospital_evaluate_detail to set
	 */
	public void setHospital_evaluate_detail(String hospital_evaluate_detail) {
		this.hospital_evaluate_detail = hospital_evaluate_detail;
	}		
	
	
}
